package com.breezelin.freshmarket.network.asynctasks;

/**
 * Created by Breeze Lin
 * 2016/9/26 16:03
 * breezesummerlin@163.com
 */

import com.breezelin.freshmarket.network.FMAsyncTask;
import com.breezelin.freshmarket.network.apis.ContentApi;

import java.util.List;

/**
 * 获取搜索热词请求
 */
public abstract class HotWordTask extends FMAsyncTask<Void, Void, List<String>> {

	/**
	 * 获取搜索热词请求
	 */
	public HotWordTask() {
		super(ContentApi.GET_HOT_WORDS);
	}

	@Override
	protected List<String> doInBackground(Void[] params) {
		return ContentApi.getHotWords();
	}
}
